Skip to main content

revXMLRPC_GetMethod

Type​

command

Summary​

Returns the name of the method in an XML-RPC document structure.

Syntax​

revXMLRPC_GetMethod(<XMLRPCdocumentID>)

Description​

Use the revXMLRPC_GetMethod function to retrieve the method name to be called upon execution of an existing XML-RPC document.

Where the path of the XML-RPC document tells the server which resource will handle the request, the method name tells that resource which method is being called specifically within that resource.

Parameters​

NameTypeDescription

XMLRPCdocumentID

integer

The number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request.

Examples​

put revXMLRPC_GetMethod(theRequest) into theMethodName

Value​

NameTypeDescription

the result

string

If the revXMLRPC_GetMethod command encounters an error, the result is set to an error message beginning with "xmlrpcerr".

glossary: Standalone Application Settings, standalone application, return, function, XML-RPC document, LiveCode custom library, XML-RPC

library: XML-RPC library

command: revXMLRPC_SetMethod

function: revXMLRPC_GetPath, revXMLRPC_CreateRequest

Compatibility and Support​

Introduced

LiveCode 2.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?